Skip to content

Handle exception when document.domain is set#382

Open
RobinQu wants to merge 2 commits intobrowserstate:masterfrom
RobinQu:master
Open

Handle exception when document.domain is set#382
RobinQu wants to merge 2 commits intobrowserstate:masterfrom
RobinQu:master

Conversation

@RobinQu
Copy link

@RobinQu RobinQu commented Feb 19, 2014

If host page's document.domain is set to another, access to iframes within the page will raise exceptions.

To prevent such tragedy, a prior check for access privilege is necessary.

Hope I'm doing the right way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant